import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:yt_devops/components/brn/brn_input_text.dart';
import 'package:yt_devops/styles/styles.dart';

class AdviceWidget extends StatelessWidget {
  final String value;
  const AdviceWidget(this.value, {super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(bottom: 16.h),
      child: YBrnInputText(
        minHeight: 80.h,
        minLines: 3,
        enabled: false,
        bgColor: Colour.backgroundColor,
        textString: value,
        textInputAction: TextInputAction.newline,
        maxHintLines: 20,
        padding: EdgeInsets.fromLTRB(16.w, 16.w, 16.w, 14),
      ),
    );
  }
}
